package com.example.secondhandsysapi.Service;
import com.example.secondhandsysapi.Vo.ShopCartGoodsInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShopCartInfoService {

    List<ShopCartGoodsInfo> getShopCartInfo1(@Param("user_id") Integer user_id);
    //根据商品id删除对应的商品信息
    Integer  deleteShopCartGoodsInfo(@Param("goods_id") Integer goods_id, @Param("user_id") Integer user_id);
    //从商品详情页添加购物车
    Integer getShopCartInfo(Integer user_id, Integer goods_id, Integer count);
}